﻿using SQLDeploy.Data.Connections;
using SQLDeploy.Data.Deployment.Steps.Tasks;
using System;
using System.Collections.Generic;

namespace SQLDeploy.Execution.Deployment.Steps.Tasks
{
    public interface ITaskExecutor : ITask
    {

        void setEnvironment(SQLDeploy.Data.Environments.Environment executionEnvironment);

        List<_BaseConnection> getConnection();

        bool PerformPreExecutionValidation();

        TaskExecutionResult ExecuteTask();

        Type RequiredConnectionType();

    }
}
